package com.springboot.myweb.utils;

import org.apache.log4j.Logger;

/**
 * log4j工具类
 * 启用方式：private Logger logger = Log4jUtil.getLog(UserController.class);
 */
public class Log4jUtil {

    public static Logger getLog(Class thisclass){
        return Logger.getLogger(thisclass);
    }
}
